﻿<s:SurfaceWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                 xmlns:s="http://schemas.microsoft.com/surface/2008" xmlns:ve="clr-namespace:InfoStrat.VE.NUI;assembly=InfoStrat.VE.NUI" xmlns:converter="clr-namespace:OficinaTuristicaFE.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic" mc:Ignorable="d" x:Class="OficinaTuristicaFE.Map"
    Title="OficinaTuristicaFE"
    >
  <s:SurfaceWindow.Resources>
    <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/MapBackground.jpg"/>
      <converter:ItineraryTextConverter x:Key="ItineraryTextConverter" />
        <ControlTemplate x:Key="SurfaceButtonControlTemplate_BackToServiceSelection" TargetType="{x:Type s:SurfaceButton}">
        	<ControlTemplate.Resources>
        		<Storyboard x:Key="BackBotonOnClick">
        			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="grid">
        				<SplineDoubleKeyFrame KeyTime="0" Value="0.7"/>
        				<SplineDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
        				<SplineDoubleKeyFrame KeyTime="0:0:2" Value="0.7"/>
        			</DoubleAnimationUsingKeyFrames>
        		</Storyboard>
        	</ControlTemplate.Resources>
            <Grid x:Name="grid" Width="100" Height="50" RenderTransformOrigin="0.5,0.5" Opacity="0.7">
            	<Grid.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform Y="0"/>
            		</TransformGroup>
            	</Grid.RenderTransform>
            	<Grid.Background>
            		<ImageBrush ImageSource="Controls/Icons/BackArrow04.png"/>
            	</Grid.Background>
            </Grid>
        	<ControlTemplate.Triggers>
        		<EventTrigger RoutedEvent="s:Contacts.ContactDown">
        			<BeginStoryboard Storyboard="{StaticResource BackBotonOnClick}"/>
        		</EventTrigger>
        	</ControlTemplate.Triggers>
        </ControlTemplate>
        <Storyboard x:Key="SendMailAnim" RepeatBehavior="Forever">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="image">
        		<SplineDoubleKeyFrame KeyTime="0" Value="-57"/>
        		<SplineDoubleKeyFrame KeyTime="0:0:2" Value="39" KeySpline="0.12,0,0.8,1"/>
        	</DoubleAnimationUsingKeyFrames>
        	<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailAnimcionGrid">
        		<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
        		<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
        		<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
        	</ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <!--<Style x:Key="PushPinYouAreHereStyle" TargetType="{x:Type ve:SurfaceVEPushPin}">
            <Setter Property="PushPinBackground" Value="{DynamicResource PushPinYouAreHere}"/>
        </Style>-->
  	<Style x:Key="tranparentButton" TargetType="{x:Type s:SurfaceButton}">
  		<Setter Property="SnapsToDevicePixels" Value="True"/>
  		<Setter Property="FocusVisualStyle">
  			<Setter.Value>
  				<Style>
  					<Setter Property="Control.Template">
  						<Setter.Value>
  							<ControlTemplate/>
  						</Setter.Value>
  					</Setter>
  				</Style>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="FontFamily" Value="Segoe UI"/>
  		<Setter Property="FontSize" Value="10"/>
  		<Setter Property="Foreground" Value="Black"/>
  		<Setter Property="Background" Value="#33A4B4BD"/>
  		<Setter Property="BorderBrush">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  					<GradientStop Color="#7FFFFFFF" Offset="0"/>
  					<GradientStop Color="#0CFFFFFF" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Center"/>
  		<Setter Property="VerticalContentAlignment" Value="Center"/>
  		<Setter Property="Padding" Value="15,6"/>
  		<Setter Property="IsTabStop" Value="False"/>
  		<Setter Property="Focusable" Value="False"/>
  		<Setter Property="MinWidth" Value="30"/>
  		<Setter Property="MinHeight" Value="30"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:SurfaceButton}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="Press">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="Release">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  								<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
  						<Border x:Name="Shadow" BorderBrush="{x:Null}" BorderThickness="0,0,0,1" CornerRadius="6" Margin="1,1,1,0" Padding="1"/>
  						<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Margin="1" RadiusY="5" RadiusX="5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1" Stroke="{x:Null}"/>
  						<Rectangle x:Name="RenderOverlay" Margin="2" Opacity="1" RadiusY="4" RadiusX="4" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1" Fill="{x:Null}"/>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Color="White" CornerRadius="4" Margin="1" Opacity="0"/>
  						<ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
  							<ContentPresenter.RenderTransform>
  								<TranslateTransform X="0" Y="-1"/>
  							</ContentPresenter.RenderTransform>
  						</ContentPresenter>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<Trigger Property="IsPressed" Value="True">
  							<Trigger.EnterActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.EnterActions>
  							<Trigger.ExitActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  											<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.ExitActions>
  						</Trigger>
  						<Trigger Property="IsEnabled" Value="True"/>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
  							<Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
  							<Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
  							<Setter Property="BorderBrush" TargetName="Shadow" Value="#00000000"/>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="Background" Value="Transparent"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
        <Style x:Key="BusinessCardStyle_GetRouteIcon" TargetType="{x:Type s:SurfaceButton}">
            <Setter Property="Background" >
                <Setter.Value>
                    <ImageBrush ImageSource="Controls/Icons/IconGetRoute02.png"/>
                </Setter.Value>
            </Setter>
        </Style>
        <Storyboard x:Key="CheckAnimatio">
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Cross">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
  		</ObjectAnimationUsingKeyFrames>
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Check">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
  		</ObjectAnimationUsingKeyFrames>
  		<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Check">
  			<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:1" Value="-41"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:2" Value="0"/>
  		</DoubleAnimationUsingKeyFrames>
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailSentAnimacioGrid">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
  		</ObjectAnimationUsingKeyFrames>
  	</Storyboard>
  	<Storyboard x:Key="CrossAnimation">
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Check">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
  		</ObjectAnimationUsingKeyFrames>
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Cross">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:1.5" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
  		</ObjectAnimationUsingKeyFrames>
  		<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Cross">
  			<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="-50"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="-50"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="-50"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:1.7" Value="-50"/>
  			<SplineDoubleKeyFrame KeyTime="0:0:2" Value="0"/>
  		</DoubleAnimationUsingKeyFrames>
  		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailSentAnimacioGrid">
  			<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
  			<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
  		</ObjectAnimationUsingKeyFrames>
  	</Storyboard>
  	<Style x:Key="ScatterViewItemStyleTransparent" TargetType="{x:Type s:ScatterViewItem}">
  		<Setter Property="Background">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  					<GradientStop Color="#FFA4B4BD" Offset="0"/>
  					<GradientStop Color="#FFDFE9EE" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderBrush" Value="#33000000"/>
  		<Setter Property="Foreground" Value="#FF515151"/>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
  		<Setter Property="MinWidth" Value="48"/>
  		<Setter Property="MinHeight" Value="48"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:ScatterViewItem}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="DeactivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  							</ColorAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="ActivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  								<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  							</ColorAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="container" RenderTransformOrigin="{TemplateBinding RenderTransformOrigin}">
  						<Grid.RenderTransform>
  							<ScaleTransform ScaleY="1" ScaleX="1"/>
  						</Grid.RenderTransform>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="shadow" Color="#33000000" Margin="-4" ShadowVector="{TemplateBinding ShadowVector}"/>
  						<Border x:Name="contentBorder" BorderThickness="{TemplateBinding BorderThickness}">
  							<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  						</Border>
  						<Rectangle x:Name="Sheen" Focusable="False" HorizontalAlignment="Stretch" IsHitTestVisible="False" Opacity="0.6" VerticalAlignment="Stretch"/>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<MultiTrigger>
  							<MultiTrigger.Conditions>
  								<Condition Property="IsActive" Value="True"/>
  								<Condition Property="ShowsActivationEffects" Value="True"/>
  							</MultiTrigger.Conditions>
  							<MultiTrigger.EnterActions>
  								<BeginStoryboard x:Name="ActivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  											<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  										</ColorAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.EnterActions>
  							<MultiTrigger.ExitActions>
  								<BeginStoryboard x:Name="DeactivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  										</ColorAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.ExitActions>
  						</MultiTrigger>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Background" TargetName="contentBorder">
  								<Setter.Value>
  									<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  										<GradientStop Color="#4CA4B4BD" Offset="0"/>
  										<GradientStop Color="#4CDFE9EE" Offset="1"/>
  									</LinearGradientBrush>
  								</Setter.Value>
  							</Setter>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="BorderBrush" Value="#33000000"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
  	<Style x:Key="ScatterViewItemStyleShowRoute" TargetType="{x:Type s:ScatterViewItem}">
  		<Setter Property="Background">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  					<GradientStop Color="#FFA4B4BD" Offset="0"/>
  					<GradientStop Color="#FFDFE9EE" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderBrush" Value="#33000000"/>
  		<Setter Property="Foreground" Value="#FF515151"/>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
  		<Setter Property="MinWidth" Value="48"/>
  		<Setter Property="MinHeight" Value="48"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:ScatterViewItem}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="DeactivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  							</ColorAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="ActivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  								<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  							</ColorAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="container" RenderTransformOrigin="{TemplateBinding RenderTransformOrigin}">
  						<Grid.RenderTransform>
  							<ScaleTransform ScaleY="1" ScaleX="1"/>
  						</Grid.RenderTransform>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="shadow" Margin="-4" ShadowVector="{TemplateBinding ShadowVector}" Opacity="0.79" CornerRadius="20"/>
  						<Border x:Name="contentBorder" BorderThickness="{TemplateBinding BorderThickness}" Background="{DynamicResource GetRouteContainer}">
  							<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  						</Border>
  						<Rectangle x:Name="Sheen" Focusable="False" HorizontalAlignment="Stretch" IsHitTestVisible="False" Opacity="0.6" VerticalAlignment="Stretch"/>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<MultiTrigger>
  							<MultiTrigger.Conditions>
  								<Condition Property="IsActive" Value="True"/>
  								<Condition Property="ShowsActivationEffects" Value="True"/>
  							</MultiTrigger.Conditions>
  							<MultiTrigger.EnterActions>
  								<BeginStoryboard x:Name="ActivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  											<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  										</ColorAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.EnterActions>
  							<MultiTrigger.ExitActions>
  								<BeginStoryboard x:Name="DeactivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  										</ColorAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.ExitActions>
  						</MultiTrigger>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Background" TargetName="contentBorder">
  								<Setter.Value>
  									<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  										<GradientStop Color="#4CA4B4BD" Offset="0"/>
  										<GradientStop Color="#4CDFE9EE" Offset="1"/>
  									</LinearGradientBrush>
  								</Setter.Value>
  							</Setter>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="BorderBrush" Value="#33000000"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
    </s:SurfaceWindow.Resources>
	<!--<s:SurfaceWindow.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource SendMailAnim}"/>
			<BeginStoryboard Storyboard="{StaticResource CheckAnimatio}"/>
			<BeginStoryboard Storyboard="{StaticResource CrossAnimation}"/>
		</EventTrigger>
	</s:SurfaceWindow.Triggers>-->

  <Grid Background="{StaticResource WindowBackground}" >
        <ve:SurfaceVEMap x:Name="MapVE"
            MapStyle="Road"
               MapLoaded="map_MapLoaded"
                         Altitude="20000" Grid.ColumnSpan="3">

            <!--<TextBlock Text="{DynamicResource 14}"/>-->
            <ve:SurfaceVEPushPin x:Name="YouAreHerepP" PushPinBackground="{StaticResource YouAreHerePp}" Click="SurfacePushPin_Click" Opacity="0" Visibility="Collapsed">
                <TextBlock Text="{DynamicResource 14}"/>
            </ve:SurfaceVEPushPin>


        </ve:SurfaceVEMap>               
        
            <s:SurfaceButton x:Name="CloseButton" Content="Close" Click="CloseButton_Click" Width="100" Height="50" HorizontalAlignment="Center" VerticalAlignment="Top" Template="{StaticResource SurfaceButtonControlTemplate_BackToServiceSelection}"/>
        <s:ScatterView x:Name="ScatterMap">
            <s:ScatterViewItem x:Name="MessageBoxView" Center="800,600" Orientation="0" Visibility="Hidden">
                <Viewbox>
                    <TextBlock x:Name="MessageBoxViewText" Text="Message" />
                </Viewbox>
            </s:ScatterViewItem>
            <s:ScatterViewItem x:Name="ScatterEnterMail" Orientation="0" Center="600,600" Width="195" Height="113" Style="{DynamicResource ScatterViewItemStyleTransparent}" Visibility="Hidden">
                <Viewbox Width="194" Height="111">
                    <StackPanel Background="{StaticResource TelephoneStyleBackground}" Width="254" Height="147">
                        <s:SurfaceButton x:Name="CloseEnterMailAddress" Content="Exit" Click="CloseEnterMailAddress_Click" Style="{StaticResource tranparentButton}" Margin="0,0,166,0" Width="20" Height="20" RenderTransformOrigin="0.5,0.5" Background="{StaticResource CloseIconStyle}">
                        	<s:SurfaceButton.RenderTransform>
                        		<TransformGroup>
                        			<ScaleTransform ScaleX="0.8" ScaleY="0.8"/>
                        			<SkewTransform/>
                        			<RotateTransform/>
                        			<TranslateTransform X="197"/>
                        		</TransformGroup>
                        	</s:SurfaceButton.RenderTransform>
                        </s:SurfaceButton>
                        <s:SurfaceTextBox  x:Name="enterMailAddress" TextWrapping="NoWrap" MaxLength="32" Width="185" FontSize="18.667" BorderThickness="1" RenderTransformOrigin="0.5,0.5">
                        	<s:SurfaceTextBox.RenderTransform>
                        		<TransformGroup>
                        			<ScaleTransform/>
                        			<SkewTransform/>
                        			<RotateTransform/>
                        			<TranslateTransform X="-10"/>
                        		</TransformGroup>
                        	</s:SurfaceTextBox.RenderTransform>
                        </s:SurfaceTextBox>
                        <s:SurfaceButton Content="Enviar" x:Name="MailSendButton" Click="MailSendButton_Click" RenderTransformOrigin="0.5,0.5" Margin="0,0,167,-34" Style="{StaticResource tranparentButton}" Foreground="{x:Null}" Background="{StaticResource MailIcon}" >
                        	<s:SurfaceButton.Effect>
                        		<DropShadowEffect BlurRadius="17"/>
                        	</s:SurfaceButton.Effect>
                        	<s:SurfaceButton.RenderTransform>
                        		<TransformGroup>
                        			<ScaleTransform/>
                        			<SkewTransform/>
                        			<RotateTransform/>
                        			<TranslateTransform Y="37" X="77"/>
                        		</TransformGroup>
                        	</s:SurfaceButton.RenderTransform>
                        </s:SurfaceButton>
                    </StackPanel>
                </Viewbox>                
            </s:ScatterViewItem>
            <s:ScatterViewItem x:Name="RouteDisplay" Width="300" Height="450" MinHeight="400" MaxHeight="600" MinWidth="267" CanRotate="true" Orientation="0" Center="200,400" Visibility="Hidden" Style="{StaticResource ScatterViewItemStyleShowRoute}">                                
                <Viewbox>
                <Grid Width="400" Height="600">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="65"/>
                        <RowDefinition Height="475"/>
                        <RowDefinition Height="60"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="200" />
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                        <s:SurfaceButton Grid.Column="2" Grid.Row="1" x:Name="CloseRouteDisplay" Content="Close" Click="CloseRouteDisplay_Click" Foreground="{x:Null}" Background="{StaticResource CloseIconStyle}" Margin="0,-60.5,17.5,0" d:LayoutOverrides="GridBox" Height="44.085" VerticalAlignment="Top" HorizontalAlignment="Right" Width="50" Style="{StaticResource tranparentButton}"/>
                    <Border BorderThickness="0" Margin="5,0,0,0" Grid.Row="1" Grid.ColumnSpan="3" Height="40" VerticalAlignment="Top" d:LayoutOverrides="Height" RenderTransformOrigin="0.5,0.5">
                    	<Border.RenderTransform>
                    		<TransformGroup>
                    			<ScaleTransform/>
                    			<SkewTransform/>
                    			<RotateTransform/>
                    			<TranslateTransform Y="-52"/>
                    		</TransformGroup>
                    	</Border.RenderTransform>                        
                        <StackPanel>                            
                            <TextBlock x:Name="From" Text="{DynamicResource 12}" Foreground="White" FontSize="13.333"/>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock x:Name="To" Text="{DynamicResource 13}" Foreground="White" FontSize="13.333" />
                                    <TextBlock x:Name="ToText" Foreground="White" FontSize="13.333"  />
                                </StackPanel>
                            </StackPanel>
                    </Border>
                        <s:SurfaceListBox Margin="5,0,0,0" BorderThickness="0" x:Name="testlistbox" Grid.ColumnSpan="3" Grid.Row="1"  Background="{x:Null}" Height="434" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" >
                        <s:SurfaceListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding Text, Converter={StaticResource ItineraryTextConverter}}" FontFamily="Segoe" FontWeight="Black" FontSize="16" TextWrapping="WrapWithOverflow" Width="350"/>
                                    <TextBlock Text="{Binding Summary.Distance}" FontFamily="Segoe" FontWeight="Black" FontSize="16"/>
                                </StackPanel>
                            </DataTemplate>
                        </s:SurfaceListBox.ItemTemplate>
                    </s:SurfaceListBox>
                    <Border Height="40" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" d:LayoutOverrides="Height" >
                            <s:SurfaceButton x:Name="Mail" Content="0" Click="Mail_Click" FontSize="14" Width="57" Background="{StaticResource SendMailIconStyle}" Foreground="{x:Null}" />                        
                    </Border>
                    <Border Height="40" Grid.Column="2" Grid.Row="2" HorizontalAlignment="Left">
                            <s:SurfaceButton x:Name="Print" Content="0" Click="Print_Click" FontSize="14" Width="55" Background="{StaticResource PrintIconStyle}" Foreground="{x:Null}" Margin="0" Style="{DynamicResource tranparentButton}" />
                    </Border>
                </Grid>
                </Viewbox>
            </s:ScatterViewItem>
            
        </s:ScatterView>
        <Grid x:Name="MailAnimcionGrid" Margin="308,208,160,25" Width="300" Height="200" Visibility="Hidden">
            <Rectangle x:Name="MailIconRect" Fill="{StaticResource MailIcon}" HorizontalAlignment="Left" Height="64" Margin="25,30,0,0" VerticalAlignment="Top" Width="98"/>
        	<Image x:Name="image" Margin="48.4,0,0,0" Source="MainAnimationItems/Gizmo.png" Stretch="Fill" HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100" RenderTransformOrigin="0.5,0.5">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform ScaleX="0.3" ScaleY="0.3"/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform X="-57" Y="28"/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        </Grid>
        <Grid x:Name="MailSentAnimacioGrid" Height="161" Margin="326,0,186,57" VerticalAlignment="Bottom" Visibility="Hidden">
            <Rectangle x:Name="Envelope" Fill="{StaticResource MailIcon}" Margin="32,49.5,54,42.5" RadiusY="4" RadiusX="4" StrokeThickness="1" Width="105" Height="70"/>
            <Rectangle x:Name="Check" Margin="46,56.833,61.333,49.833" RadiusY="4" RadiusX="4" StrokeThickness="1" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource Check}" Width="45" Height="45">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
            <Rectangle x:Name="Cross" Margin="46,56.833,61.333,49.833" RadiusY="4" RadiusX="4" StrokeThickness="1" Width="44" Fill="{StaticResource Cross}" RenderTransformOrigin="0.5,0.5" Height="44">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
        </Grid>
    </Grid>
</s:SurfaceWindow>
